package com.lz.config.dal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


@TableName("user")
public class User implements Serializable {
    @ApiModelProperty(value = "数据表")
    private String id;
    @ApiModelProperty(value = "数据表")
    private String username;
    @ApiModelProperty(value = "数据表")
    private Integer money;
    @ApiModelProperty(value = "数据表")
    private String nickName;
    @ApiModelProperty(value = "数据表")
    private String password;

    public User() {
    }

    public User(String id, String username, Integer money, String nickName, String password) {
        this.id = id;
        this.username = username;
        this.money = money;
        this.nickName = nickName;
        this.password = password;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return money
     */
    public Integer getMoney() {
        return money;
    }

    /**
     * 设置
     * @param money
     */
    public void setMoney(Integer money) {
        this.money = money;
    }

    /**
     * 获取
     * @return nickName
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * 设置
     * @param nickName
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    public String toString() {
        return "User{id = " + id + ", username = " + username + ", money = " + money + ", nickName = " + nickName + ", password = " + password + "}";
    }
}